fix bug of my queries, add init hql support.