fix snippet styles