minor html integration fixes