Remove extra space in attribute definition