small fixes to static file usage