fixed hibernate