richtext should not polute the global namespace