fixed order of changed attributes