bug fixed for dataSource.restart()