small fix with huge directories