thd install fix & default pi.set