fix library load