fixing addbank bugs