validation in check out