trim input address