Var directory fix