remove references to nonexistent method