fixed build for tc