fix broken text, closed issue #1267