My small improvements about yii2