remove debug code