fix errors

```
Undefined node attribute or method `<<' on `node'. To set an attribute, use `<<=value' instead.
```