fixes demo bug where you can't click last two buttons