clear errors on calling dead functions