fixe 'clear names' bug in hc_StatePub