fix error in attributes