added hack to init hibernate