repair html formats dropdown categories