check buttons