debugging info and init mutexes before use