change syntax to support ruby 1.9.1