update hc optimizer.
clean up.