Fix the timedim correctly this time