pthread
fix again