fix a openstruct quirk on ruby 1.9