Fix loading async issue