make control show loading while loading