fixed dest location and renamed variable