fixed imported Connection being rewritten