Fix Script Bug