Fixing threading issue.