fix `L.Var` bug and missing `L.Val`