fix(loader): check for LazyLoad instead of capturing error