fix 404.html infinite loading