wrap find_provided_from in rescue block, fix render_404