set type=button by default