fixed html UI

assed UI adapter change
renamed functions