Fix compatibility with yii 1.1.14