removed extra s# related code from pin.rb