enhance connection option utils