check if adapter is created
removed unused