fix output formating