fix for output unactive tags