cleanup node format