the tex file was not even added for func. thks @elisabeth