bugfix on changed attributes clear