fix static file error