Fix type in function name