Fix rendering of validation error