fd was oput of scope