add bool fetch flow; fix regist struct bug