optimize picLazyLoad code