fixed misspelled thread target function