Fix snippet if dynamicview is not installed