added delete trigger for local control