some fix
fix Yii::app()->getModule("yupe")
small fix and optimization