Set detailed validator errors and fix some errors