init from yii