isEditing error fixed (it seems)