fix year view bug