remove isDirty check, which didn't seem to work