fix output format