Fixed thread run.