fixing bad log directory variable