fix the bug in writing long text to xlsx