remove permissions stuff