remove unnecessary isLoading block