Fix spelling error in function name