fixes #598
Merge pull request #602 from magfest/transfer_fix

fixes #598