Hopefully fixed write