added heroku dependencies
fixed minor bug