inline script fix