reverting debug code