working on locale so it functions in Heroku