fixes relative to templates_c move