fix fd in write()