fix: avoid out of bound at worker node removal