fixes for new yii