fix for $body = $text = ‘string’; issue