use query parser in amcates