fixed issue with timeScale