fix snippet extension