admin edit/delete bug fix