fix button mode