perm checking