fix potential race condition setting target voice frequency