search: fix for serving static files
record: fix for legacy import