fix Nil connection reference in request