Added sanity check to lazy loading