removed remaining debug code