fix error on 404 page if hoop shortcode is called.