change guard node to minimum and fix sources traversal