fixing improper attribut names