fixed caption text bug