fix: button should not able to click when no data