cleanup some old function that survived during a failed rebase