Make the adapter works in firefox