remove references to depricated function