removing upload_dir