Fixed lazy loading bug.