fixed various misspellings and inconsistencies