remove the fd checking