strip out debugging info