fix stackoverflow error when delete custom zones