Adapter initialization fix