clean up global var leak
when errors throw during routing/rendering, try to fall back to server rendering