fix script break