more bug fixes for yii2 beta