forgot to wrap one piece of the main connection structure change in an ifdef