fix attribute changes sync