fixed referrer url and user agent for heroku