add criteria api text and continue Query text