fix small directory issue