remove / from var dir