fixes to static file serving