fixed issue with not increasing from and to years