fix panic during TestQuery