static file bugfixes