fix print_param and update tutorial