return 0 when send to an invalid address