Attempting to fix error in Heroku