quick fix for traversal