Fix: fix year end comparing loss