fixed no buttons clicked nil