check and format address