fixes #4; debug code for heroku