fixing bug where the original pushdef file would be the one used for each transfer