input have the same treatment as button