remove some permissions