Fix misspelling and length of code