extract address type