fix nil reference in the bank account class
aggregate markets defaults into one table