bug in print_std_parms, replaced multiple  sprintf with snprintf