Fix ScriptCompressor Bug