format address before save