bugfix: NullReferenceException in RequestContext