fixing program output format