fix library methods initialize and books