deprecated a function and changed the one reference to the valid function.