changed the data layout to button count