remove unnecessary html in edit form