Home page restored by setting debug=false