Fix NullHandleException on slice2html