fix the text bug