Fix "delete" action