fixing transfer penalty bug.

issue #1029
I think this solve that issue but since it could have big influence, I've run some tests and everything look fine.