hibernate fix