fix case insensitive to work on heroku enviroment