Fixed result text bug