added adapter for better hosting