Model query param fix