fix to 4.2.0 uid and gid checking