fix sharing bug for action delete as well