Fixed mandatory problem.

Fixed mandatory problem.