revert errror in attributes