simplify perm