forgot to unlock mutex