fix hibernate config