fixed write