fixed how buttons should be shown and tested