wls_settings fix and datasource type