Fixed html display bug