fix bug r3 to r20