Fix diff outputting