fix: onprocess will be called twice when signle file is small