fix_bug: randomString not work well in windows