add output buffering to make yii errors work