removes debug