get errors in functions i callback