tried fixing validation errors