turn off html layout in special cases