fix bug 'ignore last address'