fixed htmlpartial bug