change switch buffer