expandAll loadingElement fix