reports error

removed reference to an old function that has been removed