Fixed issues with tabs instead of spaces, and miss-spellings