Revert "local delete"

This reverts commit e6e7b9673c94d053f17f1709c4b2ccf4858112b6.