fix print_r