fixed write avx