changes to bypass heroku's websocket error