fix warning and delete printf in fct by felix do the same