fix datasource bug