hibernate library fix