removed duplicated fors

Change-Id: Ia10ff5a7559b915b460af0a34e664228e40824e4
Merge "removed duplicated fors"