Added throwing of exception when html_path is still configured