fix spelling error in function name