trying to debug button issues