fix error on some files are not loaded