added fd closes