Fixed a wrong index accesss in the loading of time.