fixed segfault in print_clean_hints