Fixes validation.