fix uri bugs on 404 page