improved validation errors