bug fixes and threading