added more mutexes on sensors