fixed url_for in 404.html
removed unneeded values from config