fix snippet text error