fix mutex init