fixing pins.rb file