fix depends for perms