modify for loadingbar