maybe set node attrs the right way