modify for loading bar render