fix 9999 year problem