fix library