checkout - bug fix

improperly referenced function.