plug a missing error check in address generation response