yii 2.0 beta fix #7