Spelling error and fixed a bug