forgot to trim() the ipaddr