cleanup unnecessary edits