[bank] fix a parsing bug