maybe fix issue with logging dir