fixed regex and misspelling