Fixed delete bug
Bug fixes for edit URL