tries to fix script tag