Corrections for code and speeling errors