prevent read of unset file descriptor