fixed effective date shift bug