repetition allowed bug fixed

repetition allowed bug fixed