Fixed an incorrect function name