fix the bugs of validating delivery address

Signed-off-by: Takashiro <takashiro@qq.com>