Improved address copying

Removed line breaks for null strings in address.