changed mutex init