Minor perm bug fix