Fix exam form and index action.