Remove unused variable
Stop traversal on error