fixed adding end time