get source address automatically