fix delegate to use ruby 1.9 style