Fix typo and missing print_function_name()