Removed some unnecessery debug code