fix some script