fix output data format