bugfix when upload folder more