fix InputButton with template