debugging as AWS is not working on Heroku