fixed a bug of crossing year