fixed isEdited