fixing hibernate config