added global $body to formatBody function, fixes translate plugin.