log level raised
fixed bug in isDirty so null returns dirty
fixed failing edge test cases