fixed bug in rsync command