Fixed bug of double files on move