fix htmlblock bug