Fix the loading bug.