handling other non-word nodes