change/fix node angle/type determination