isDirty fixed