fix library use