Fix attribute accessing

Wrong attribute, not an instance variable