fix raw output