startYear/endYear bug fix