Fix an attribute error