fix type in button. thanks @jeffling