fix query to body