fix 1.9 require ostruct