fixed cursor issue if form file content is too large