If one of them is a plantsim witch, select the name of that sim and make sure the sim you are controlling has no other actions in his or her queue. Click on that and you will get the names of all the sims on the lot. From there, among the options you will get will be 'flashing blue.'. To remove plantsim witch-hats, all you have to do is click on the lot-debugger and select 'fix' from the pie menu.
The Lot Debugger must be used with respect and care, as misusing it - especially when in 'boolprop' or debug mode - can cause problems for your game. You can get it from 'More Awesome Than You', which is a well-known Sims 2 and Sims 3 modding site full of useful mods and hacks for your games. If you like the patch of plantsim leaves, or if you have a mod which allows plantsims to keep their hair, and are disappointed by the plantsim witch-hat, then all you need is the FFS Lot Debugger, often known as the 'Batbox'.
Plantsims don't have true 'hair' - they have leaves on their heads instead. or it may just happen by accident! When it does happen, however, the plantsims will get a witch-hat which cannot be removed by 'change appearance' that's because with plantsims, the hair option is unavailable. There are some plantsims who want to become witches, or witches who want to become plantsims.