fix CHtml calls