fixes empty tag bug
3.0.8