fix button demo bug