Fixing perm values