Fix error in async load