fix reset logic to work for arria2+5 equally