end_time fixed