fix incompatibility between spec gen and pinmux code-gen