Corrected a repeat bug