delete unneed permissions