cleanup of edits