fix gallery for dataSource