fix an error if invoke GetInstance() method before the BeginRequest event