fixed button click-but-miss discrepency