fixed button display rule bug