Fixes text format