Fix static file handling