fix _loadImgs