fixed bank.py encoding