remove commented code and misspelling