Minor issue fixed for ruby 2.0