loading files bug fixed