fix static file bug