fixed bug at standard mapping hql queries