fix region clean so that remote empty nodes are removed