refat spec.
fix open struct load with ruby 2.0