Var doc fixed