traversing improvments
small correction on src/classes.js