address: add sub data 'type'
few fixes and improvements on addresses