fix mutex auto release err