Fixed ruby 2 warnings