cut weird diff artifact in code