some OnAttributeChanged events would not be fired, added changed check for some attributes