more updates ffor html mode