use sscanf to parse address