Removed unused debug code