strip out debug