delete tasks when deleting device let tasks have a unique name withDevice field should only contain name