add start_date end_date check