Use print_warning consistently