Yeah, badchar is often the reason why rand_text fails.