bug fixed with showLoadingImage