fix asynchronize loading bug