fix type of button