fix button toggle