fixed hibernate config