fixed checkout validation