removing commented code in write.c