Fix year parsing