fix error in dynamic call to html builder