small bug fix for heroku