[FIX]fix second passing errors(only change friction), and various misc bugs