fix the sea.js plugin-text bug