move printfs outside of nodecache lock
merge