removing reference to a function that was removed earlier