remove unnecessary code from Connection::insert