reflect get fd
fix gbk