protect against start_time and end_time being blank