Fix bad attribute names