Code cleanup in news items