correcting threadlocal null treatment