correct deletion of array property