fix hql