Fix undefined for unused tags