forgot to comment out one mutex lock