fix bug with adapter/package name loading