fixed tracking of changed attributes