fix creating doc's htmls