fix #169
Merge pull request #189 from ZeusWPI/swap-paid-for-to-pay

fix #169