Trying to fix empty directory problems.