fixed logging rel dir err