qnd: debugging race condition fix