get rid of uneeded permission