remove invalid value for strict mode

fix #344.

I think `this.agent` is always `undefined`, so we can just remove it.