fix when completion files are loaded lazily