rm debug code