small change to xhr override fix