CGrid View Checkbox per Ajax update BUG

http://img546.imageshack.us/i/cgrideview.png/

Also wenn man da jetzt eine Checkbox auswähl wird immer die drüberliegende Checkbox ausgewählt.

( Beim ersten Clicken nimmt er die richtige )

Hier die CGrideView




 $this->widget('zii.widgets.grid.CGridView', array(

	'id'=>'grid',

	'dataProvider'=>$model->search(),

	'filter'=>$model,

        

        'cssFile'=>'../css/gridstyle.css',

        'htmlOptions'=>array(

                'class'=>'grid',

        ),




        'ajaxUpdate'=>true,

        'columns'=>array(

                array(

                    'header'=>'Projekt ID',

                    'name'=>'uid',

                    'value'=>'$data->uid',

                    'htmlOptions'=> array( 'class'=>'number', 'width'=>75),

                ),


		array(

                    'header'=>  Yii::t('cp', 'Erstellt'),

                    'name'=>'created',

                    'value'=>'date("d.m.Y", $data->created)',

                    'htmlOptions'=> array( 'class'=>'datum', 'width'=>100),

                ),

               

                array(

                    'header'=>  Yii::t('cp', 'Archiviert'),

                    'name'=>'archived',

                    'value'=>'$data->archived == 0 ? "nein" : "ja"',

                    'htmlOptions'=> array( 'width'=>100 ),

                ),

           

                array(

                        'header'=>'Archiviert',

                        'type'=>'raw',

                        'name'=>'archived',

                        'value'=>'CHtml::checkBox("archived",$data->archived == 1,

                                

                                array(

                                        "ajax"=>array(  //     HIER IST DER AJAX TEIL 

                                                "url"=>"admin",

                                                "data"=>array("uid"=>$data->uid),

                                                "update"=>"#grid",

                                        ),


                                )

                                

                        )',

                        'htmlOptions'=>array( "align"=>"center","width"=>75),


                ),

      

		'projectname',

		/*

		'info',

		*/


		array(

                        'header'=>'Aktion',

			'class'=>'CButtonColumn',

                        'buttons'=>array(

                            'delete'=>array(

                                'visible'=>'false',

                            )

                        )

		),

	),

)); ?>




Und hier noch das was in der action passiert


   if (Yii::app()->request->isAjaxRequest)

                {


                        if( isset($_GET['uid'] ))

                        {

                                $pr_uid = $_GET['uid'];

                                

                                $model=$this->loadModel( $pr_uid );

                                $model->archived = $model->archived == 0 ? 1 : "";

                                //$model->projectname = "AJAX";

                                $model->update();

                                

                                $model->unsetAttributes();


                               // $model->search();

                                

                                //$model = new Project;

                                //$model->unsetAttributes();

                                 //$this->refresh();

                        }

                        //$this->renderPartial('_projects', array('model'=>$model), true);

                         $this->redirect(array('admin'));

                       

                      /*

                        $this->render('admin', array(

                            'model'=>$model,

                            'wm_uid'=>$wm_uid,

                        ));

                       */

                        exit;

                }