further bug fix on transfers