remove calls to library