fix a hibernate lazy fetch bug