fix query name