write correct time_base