fix static and resource files