fix buttonOptions