fixes for html c & d