fix for empty tag