fix the black text bug