make the diff output work