improved build news text function