fixed a bug with hanging at 1BCE