Correction of mute function

mute always returned false.