fix KASSERT(LOCKED) panic