slight modification for scale numbers in time axis