Fixed usage of wrong attribute name