fixed issue with rename, tested upload to device