this bug also affects using tags in templates