fixed logic for charge to account