remove usless attribute changes