Fix Yii instance