set agent to false