removes debug info