Removed traversal of global variable ids