do correct validation