Fixes text snippet