fix output type