smart parsing of address