lowercase domains and trim keyword tags