hot fix for admin delete and edit