Removing extraneous attribute