Fixed multi threads writes