remove edit mode