fix bug when isRepeated equals 'no'