better handling of doc addresses in drop down