fix start date and comparison key