fixed hibernate mapping