Fix : wrong attribute type