fix function error, if mu active