erg static file fix