Fix incorrectly named attribute