remove empty tag in search