Mute fixes
Python 3 compatibility