checkout formats may be undefined, avoid error in that scenario