add fix for loading views from lazy modules