correct the typo inside models pin.rb