Fix for wrong attribute name