fix datasource problem