fix checkout validation