Fixed the adapter