fixed #366, unicode exception when depositing