start_time in activity must be before end_time