fix the wrong "day" range when set the initiate date