fix 65536 characters per file limit