add property of viewName for rewrite