#265: fixed couple ruby 2.0 warnings