fixed custom RazorViewEngine bug