remove deprecated library call