Line 552 to 554 must be execute only of if "isRepeater" is true