fix to the HTML cell type rendering