revise do deffered write