removed prefix detection, added connection setting