Fix fd fetch problem