Removed some Debug code