change output to raw format