fix conversion error which resulted in "null"
remove one layer of threading