fix exception caused by typo in voices.py