Fix address_parts runtime error

To avoid same name for variable and function