remove old function call