fixed logging rel dir err again