fix the loading image issue