add error handle and test case
refactor balance and converter with RalModule