Fixed errors in mixer.py