tiny fix to long writes