fixed problem where named view would not be generated by module