added useless conversion function, fixed start_time and end_time for distribution