Fixed small error with thread creation