[FIX]Fixed traceback in account related module.