fixes permission priorities