added lazy loading for inptblocks