change attributes bug