fix the view path so generated code works cross OS; closes #230
syntax correction