removed dead debug code