put mutexes back where they were