write fix