Fix Heroku Pin and S3 error