now strip out debug