Fix data format validation