delete dead warehouse code