html representation bug fixed