Fixed repeatString()