removes debug feature