fixed the bug reported by Jim
fixed the bug of no AR bundle and auto reload datasource