Fixing bugs to heroku