small improvements (dev mode & heroku)