fix get dir size bug