tidying up permissions edit/deleting things