timeline chart refactoring bug fix