Fixed problem uploading twice the same directory