check validate