fix output content-type