fixing text bug