fixed 0 diff edge case