correct var directory