removes debug option