forgot to unlock thread lock