fixed compile errors in control unit function pack