add plugin
fix snippet