delete the callback func