fixing transfer penalty bug.
 issue #1029