year selector bug fix