fixes problem with time axis ticks