modify: remove debug code