Fixed create new pin error on Heroku