delete calling of function incorrect.