fix some bug about mutex