Fixed type and wrongly named attribute.