fixed static file bug