[TryCompileFromSource] reset VAR on fail (bug)