module view works correctly when view file is cached in memory