changes in resetAttributes