fixes to timesample loading