fixed refresh html error