validate style