fix error in mysql attrs