fix perms inconsistency