Fixes text creation