fixed hibernate warning