make start_date and end_date right