resolved bug so that heroku version of site doesn't fail when waking up