fix start and end date in assignment add