messed up hibernate file