fix the vertical text bug