fixed syntax error for ruby 2.0 later.