remove permissions duplication