remove not needed permissions