remove unnecessary permission