added catch to make sure 404 isn't added to body class