check for unlisted buffer before switching