enlarge max thread to 50