Fixed issue in loading adapters