fixed html loading error