delete for locations and departments