Fix inbound dependencies of arguments
add name collision lookup to scopes