Bug fixes of lazyLoad method.