Potential fix for random text bug