change debug code