UPD: fix problems appears when enabled Yii2Debug component