threads error printf specification fixed
local hiding fixed
threads count error format specifier corrected