fix require for lib/connection