Fix bugs about mutex