fix bug when loading failed