Fix `generator` tag issue