Fixing text execution paths