Fix wait query param