fix getTimes Bug on last element of times