fix the warrant data validation method