fixed nil class error
fixed nil class errors in conn, req sent and pending req