Fixed minor bugs and misspellings

Fixed minor bugs and misspellings