remove unnecessary permitions