Fixing for Heroku server deployment