add missing CC arguemtn to h$appendToHsStringA
remove some unused functions